package com.sz.common.pay.citic.entity.other;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Created by siqishangshu on 17/10/20.
 *
 * 响应报文
 <?xml version="1.0" encoding="GBK"?>
 <stream>
     <status></status><!--交易状态 char(7)-->
     <statusText></statusText><!--交易状态信息 varchar(254)-->
     <list name="userDataList">
         <row>
             <tgname></tgname><!--支付联行名称 varchar(122)-->
             <tgfi></tgfi><!--支付联行号 varchar(20)-->
         </row>
     </list>
 </stream>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "stream")
@Data
public class BankInfoRes {
    private String status;          //交易状态 char(7)-->
    private String statusText;      //交易状态信息 varchar(254)-->

    @XmlElementWrapper(name = "list")
    @XmlElement(name = "row")
    private List<BankInfo> list;    //name="userDataList">
}
